import request from '@/utils/request'

// 公寓设备记录列表
export function apiRoomApartmentDeviceLogLists(params: any) {
    return request.get({url: '/room.room_apartment_device_log/lists', params})
}

// 打印-公寓设备记录列表
export function apiRoomApartmentPrintListsDeviceLog(params: any) {
    return request.get({url: '/room.room_apartment_device_log/print_lists', params})
}

export function apiRoomApartmentExportLists(params: any) {
    return request.get({url: '/room.room_apartment_device_log/export_lists', params})
}

// 添加公寓设备记录
export function apiRoomApartmentDeviceLogAdd(params: any) {
    return request.post({url: '/room.room_apartment_device_log/add', params})
}

// 编辑公寓设备记录
export function apiRoomApartmentDeviceLogEdit(params: any) {
    return request.post({url: '/room.room_apartment_device_log/edit', params})
}

// 删除公寓设备记录
export function apiRoomApartmentDeviceLogDelete(params: any) {
    return request.post({url: '/room.room_apartment_device_log/delete', params})
}

// 公寓设备记录详情
export function apiRoomApartmentDeviceLogDetail(params: any) {
    return request.get({url: '/room.room_apartment_device_log/detail', params})
}